package org.activequant.container.services;

import org.activequant.core.types.TimeStamp;
/**
 * An interface. Defines one method:
 * <ul>
 * <li>TimeStamp currentTimeStamp();</li>
 * </ul>
 * @author Dimitar
 *
 */
public interface ITimeStampService {

	/**
	 * Provides current time. Important for simulated contexts,
	 * when time is not current system time (backtesting). For live contexts
	 * returns real time.
	 * 
	 * @return current time of this context.
	 */
	TimeStamp currentTimeStamp();
}
